
//尝试对变量旁边堆栈空间进行非法操作导致的堆栈损坏
#ifdef a
#include<iostream>
using namespace std;
void Fill_Array(double* q, int n) {
	double number;
	int count = 0;
	while (count != n) {
		cin >> number;
		q[count++] = number;
	}
}

void Show_Array(double* q, int n) {
	for (int a = 0; a < n; a++)
		cout << q[a] << endl;
}

int main() {
	double x;
	Fill_Array(&x, 5);
	Show_Array(&x, 5);
	return 0;
}
#endif 